﻿using System.Data.Entity.ModelConfiguration;
using Zeus.Biz.Northwind.Model;

namespace Zeus.Biz.DAL.EF.Northwind
{
    public class EmployeeConfiguration : EntityTypeConfiguration<Employee>
    {
        public EmployeeConfiguration()
        {
            Property(d => d.EmployeeID).IsRequired();
            Property(d => d.LastName).IsRequired();
            Property(d => d.FirstName).IsRequired();
        }
    }
}
